<div id="nav">
  <div class="nav_r left">
    <?php if ($this->_var['menu']): ?>
    <ul>
      <li><a href="/">首页</a></li>
      <?php $_from=$this->_var['category1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('$attrs[key]', '$attrs[item]');if (count($_from)):
    foreach ($_from AS $this->_var['cat']):
?>
      <li><a href="<?php echo $this->_var['cat']['uri']; ?>"><?php echo $this->_var['cat']['name']; ?></a></li>
      <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();?>
      <?php if ($this->_var['menu']): ?>
      <?php $_from=$this->_var['menu']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('$attrs[key]', '$attrs[item]');if (count($_from)):
    foreach ($_from AS $this->_var['menu_0_01562700_1332943492']):
?>
      <li><a href="<?php echo $this->_var['menu_0_01562700_1332943492']['link']; ?>"><?php echo htmlspecialchars($this->_var['menu_0_01562700_1332943492']['name']); ?></a> </li>
      <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();?>
      <?php endif; ?>
    </ul>
    <?php endif; ?>
  </div>
  <div class="nav_l right">
    <?php if ($this->_var['config']['content_draft_status'] == 1): ?>
    <ul>
      <li><a href="<?php echo $this->_var['path']; ?>front.php?action=content&do=draft">我要投稿</a></li>
    </ul>
    <?php endif; ?>
  </div>
</div>
